Component({
  properties: {
    overview: {
      type: Object,
      value: {
        systolic: '--',
        diastolic: '--',
        heartRate: '--'
      }
    }
  },

  methods: {
    // 点击指标跳转到血压记录页面
    onMetricClick(e) {
      const type = e.currentTarget.dataset.type;
      wx.navigateTo({
        url: '/pages/home/PressureRecord/index'
      });
    }
  }
});
